package cn.backpackerxl.web.model;

import java.lang.reflect.Method;

/**
 * @Author:backpackerxl CreateTime:2022/4/17
 * FileName:ControllerMethod
 **/

public class ControllerMethod {
    private Method method;
    private String path;

    public ControllerMethod() {
    }

    public ControllerMethod(Method method, String path) {
        this.method = method;
        this.path = path;
    }

    public Method getMethod() {
        return method;
    }

    public void setMethod(Method method) {
        this.method = method;
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    @Override
    public String toString() {
        return "ControllerMethod{" +
                "method=" + method +
                ", path='" + path + '\'' +
                '}';
    }
}
